﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Wolfut.MirageEE.Domain.CommonUtilities
{
    public enum CodeManner
    {
        /// <summary>
        /// 流水号
        /// </summary>
        No = 0,
        /// <summary>
        /// 年编号
        /// </summary>
        YearManner = 1,
        /// <summary>
        /// 月编号
        /// </summary>
        MonthManner = 2,
        /// <summary>
        /// 日编号
        /// </summary>
        DayManner = 3
    }
    public enum PayState
    {
        /// <summary>
        /// 未付款
        /// </summary>
        NoPay = 0,
        /// <summary>
        /// 部分付款
        /// </summary>
        PartPay = 1,
        /// <summary>
        /// 已付款
        /// </summary>
        FullPay = 2
    }
    public enum CollectingBillState
    {
        /// <summary>
        /// 未收款
        /// </summary>
        NoCollectingBill = 0,
        /// <summary>
        /// 部分收款
        /// </summary>
        PartCollectingBill = 1,
        /// <summary>
        /// 已收款
        /// </summary>
        FullCollectingBill = 2
    }
    public enum PurchaseOrderState
    {
        /// <summary>
        /// 关闭
        /// </summary>
        Closed = 0,
        /// <summary>
        /// 未入库
        /// </summary>
        NoInWarehouse = 1,
        /// <summary>
        /// 部分入库
        /// </summary>
        PartInWarehouse = 2,
        /// <summary>
        /// 已入库
        /// </summary>
        FullInWarehouse = 3
    }
    public enum SaleOrderState
    {
        /// <summary>
        /// 关闭
        /// </summary>
        Closed = 0,
        /// <summary>
        /// 未出库
        /// </summary>
        NoOutWarehouse = 1,
        /// <summary>
        /// 部分出库
        /// </summary>
        PartOutWarehouse = 2,
        /// <summary>
        /// 已出库
        /// </summary>
        FullOutWarehouse = 3
    }
    public enum ProductSellingState
    {
        /// <summary>
        /// 商品下架
        /// </summary>
        WaitingForSale = 0,
        /// <summary>
        /// 商品上架
        /// </summary>
        HotSale = 1
    }

    public enum ShopCategory
    {
        //01：淘宝；02：拍拍；03：易趣；04：其它；
        /// <summary>
        /// 淘宝
        /// </summary>
        TaoBao = 1,
        /// <summary>
        /// 拍拍
        /// </summary>
        PaiPai = 2,
        /// <summary>
        /// 易趣
        /// </summary>
        Yiqu = 3,
        /// <summary>
        /// 其它
        /// </summary>
        Qita = 4
    }

    public enum SupplierSource
    {
        Supplier = 0, //0: 阿里巴巴
        SupplierAndCustomer = 1 //Others
    }



    public enum SupplierType
    {
        /// <summary>
        /// 供应商
        /// </summary>
        Supplier = 1,
        /// <summary>
        /// 客户
        /// </summary>
        Customer = 2,
        /// <summary>
        /// 既是供应商又是客户
        /// </summary>
        SupplierOrCustomer = 3
    }

    public enum EmployeeType
    {
        /// <summary>
        /// 销售员
        /// </summary>
        Saler = 1,
        /// <summary>
        /// 其他
        /// </summary>
        Other = 2
    }

    public enum Sex
    {
        /// <summary>
        /// 男
        /// </summary>
        Male = 1,
        /// <summary>
        /// 女
        /// </summary>
        Female = 2
    }

    public enum OnLoanFlag
    {

        /// <summary>
        /// 借
        /// </summary>
        LoanIn = 0,
        /// <summary>
        /// 贷
        /// </summary>
        LoanOut = 1
    }
    public enum PriceCompages : int
    {
        /// <summary>
        /// 按客户+存货（商品）
        /// </summary>
        Customer=0,
        /// <summary>
        /// 按客户类别+存货（商品）
        /// </summary>
        CustomerCategory=1
    }



    public enum AuditState : int
    {
        /// <summary>
        /// 未审核
        /// </summary>
        NoAudit=0,
        /// <summary>
        /// 审核中
        /// </summary>
        Auditing=1,
        /// <summary>
        /// 已审核
        /// </summary>
        Audited
    }

}
